<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
    <title>向下滚动页面加载图片</title>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <script src="/res/js/jquery.min.js"></script>
    <script src="/res/js/scrollPhoto.js"></script>

    <link rel="stylesheet" href="/res/layui/css/layui.css">
    <link rel="stylesheet" href="/res/css/global.css">
    <script type="text/javascript">

    $(function(){

        $.ajax({
            url: window.location.href + '.do',
            dataType: 'json',
            type: 'GET',
            success: function(data){
                imgscroll.beLoad($("#img_list"),data.picList);
            }
        })


    });
    </script>

</head>
<body style="background:#444;padding-top:20px;">
<div id="img_list"></div>
<div id="img_load" style="text-align:center;color:#AAA;"><img src="loading.gif" /><br /><span>少女读取中...</span></div>
</body>
</html>